namespace PropertyExpression.ControllableQuery.Toolkit.Test.Queries
{
    public interface IError7QueryInfo
    {
        int Code { get; }
    }

    public class Error7Query : IQuery<IError7QueryInfo>
    {
        private readonly IParam<string> code;

        public Error7Query(IParam<string> code)
        {
            this.code = code;
        }

        public string TransformText()
        {
            return @"SELECT
    Code
FROM
    PublicationType
WHERE
    Code = " + code;
        }
    }
}